<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The minimum value for a field, considering the objectʼs current time</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="intlcalendar.getactualmaximum.html">« IntlCalendar::getActualMaximum</a></li>
      <li style="float: right;"><a href="intlcalendar.getavailablelocales.html">IntlCalendar::getAvailableLocales »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.intlcalendar.html">IntlCalendar</a></li>
    <li>The minimum value for a field, considering the objectʼs current time</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="intlcalendar.getactualminimum" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::getActualMinimum</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8, PECL &gt;= 3.0.0a1)</p><p class="refpurpose"><span class="refname">IntlCalendar::getActualMinimum</span> &mdash; <span class="dc-title">The minimum value for a field, considering the objectʼs current time</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.getactualminimum-description">
  <h3 class="title">说明</h3>
  <p class="para">
   面向对象风格
  </p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>IntlCalendar::getActualMinimum</strong></span>(<span class="methodparam"><span class="type">int</span> <code class="parameter">$field</code></span>): <span class="type"><span class="type">int</span>|<span class="type"><span class="type false">false</span></span></span></div>

  <p class="para rdfs-comment">
   过程化风格
  </p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>intlcal_get_actual_minimum</strong></span>(<span class="methodparam"><span class="type"><a href="class.intlcalendar.html" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$calendar</code></span>, <span class="methodparam"><span class="type">int</span> <code class="parameter">$field</code></span>): <span class="type"><span class="type">int</span>|<span class="type"><span class="type false">false</span></span></span></div>

  <p class="para rdfs-comment">
   Returns a fieldʼs relative minimum value around the current time. The exact
   semantics vary by field, but in the general case this is the value that
   would be obtained if one would set the field value into the
   <a href="intlcalendar.getgreatestminimum.html" class="link">greatest relative minimum</a>
   for the field and would decrement it until reaching the
   <a href="intlcalendar.getminimum.html" class="link">global minimum</a> or the field value
   wraps around, in which the value returned would be the global minimum or
   the value before the wrapping, respectively.
  </p>
  <p class="para">
   For the Gregorian calendar, this is always the same as
   <span class="function"><a href="intlcalendar.getminimum.html" class="function">IntlCalendar::getMinimum()</a></span>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.getactualminimum-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">calendar</code></dt>

    <dd>

     <p class="para"><span class="classname"><a href="class.intlcalendar.html" class="classname">IntlCalendar</a></span> 实例。</p>
    </dd>

   
   
    <dt>
<code class="parameter">field</code></dt>

    <dd>

     

<p class="para">
 One of the <span class="classname"><a href="class.intlcalendar.html" class="classname">IntlCalendar</a></span> date/time <a href="class.intlcalendar.html#intlcalendar.constants" class="link">field constants</a>. These are integer
 values between <code class="literal">0</code> and
 <strong><code>IntlCalendar::FIELD_COUNT</code></strong>.
</p>

    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.getactualminimum-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   An <span class="type">int</span> representing the minimum value in the fieldʼs
   unit 或者在失败时返回 <strong><code>false</code></strong>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-intlcalendar.getactualminimum-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="intlcalendar.getminimum.html" class="methodname" rel="rdfs-seeAlso">IntlCalendar::getMinimum()</a> - Get the global minimum value for a field</span></li>
    <li class="member"><span class="methodname"><a href="intlcalendar.getgreatestminimum.html" class="methodname" rel="rdfs-seeAlso">IntlCalendar::getGreatestMinimum()</a> - Get the largest local minimum value for a field</span></li>
    <li class="member"><span class="methodname"><a href="intlcalendar.getactualmaximum.html" class="methodname" rel="rdfs-seeAlso">IntlCalendar::getActualMaximum()</a> - The maximum value for a field, considering the objectʼs current time</span></li>
   </ul>
  </p>
 </div>



</div></div></div></body></html>